home *** CD-ROM | disk | FTP | other *** search
- Subject: Re:Undo Set Property
- Sent: 8/7/96 4:59 PM
- Received: 8/8/96 8:57 AM
- From: Greg Friedman, friedman@cognosis.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Serge Froment wrote:
- > >This is a good suggestion, though I think it should be a virtual method of
- > >FW_MScriptable, not of FW_CPart.
- >
- > Making NewSetPropertyCommand a method of FW_MScriptable is OK for me.
- >
- > I am sure this is what you intend to do, but to make sure we understand
- > each other well, FW_CPropertyDesignator::DoAESetData should call
- > fObject->NewSetPropertyCommand(), not this->NewSetPropertyCommand().
- > Otherwise we are back to square one.
-
- I posted a more recent message explaining why I've decided against this
- strategy. Instead, I added FW_MScriptable::SaveProperty, and modified
- FW_CSetPropertyCommand::DoIt to call SaveProperty instead of GetProperty. I
- think this hook should work for you.
-
- Greg.
-
-
- ___________________________________________________________
- Greg Friedman ODF Engineering Apple Computer
-
-
-